home *** CD-ROM | disk | FTP | other *** search
/ World of Education / World of Education.iso / world_m / micemen2.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-01-31  |  1KB  |  56 lines

  1. echo off
  2. cls
  3.  
  4. if not %1. == . goto NewDir
  5. type install.hlp
  6. pause
  7. if %1. == . goto default
  8.  
  9. :NewDir
  10. echo About to create Directory %1
  11. echo.
  12. echo Press Ctrl-Break to stop or
  13. pause
  14. md %1
  15. echo Copying Programme files
  16. ren config.omm config.tmp
  17. ren config.bak config.omm
  18. copy *.* %1
  19. ren config.omm config.bak
  20. ren config.tmp config.omm
  21.  
  22. :DiskB
  23. echo.
  24. echo.
  25. echo Please remove Programme disk and insert Data disk
  26. pause
  27. if not exist george.chr goto DiskB
  28. echo Copying Data files
  29. copy *.* %1
  30. goto End
  31.  
  32. :default
  33. md c:\omm
  34. echo Copying Programme files....
  35. copy *.* c:\omm
  36.  
  37. :DiskBB
  38. echo.
  39. echo.
  40. echo Please remove Programme Diskette and Insert Data diskette
  41. pause
  42. if not exist george.chr goto DiskBB
  43. echo Copying Data Files
  44. copy *.* c:\omm
  45. ren c:\omm\config.omm config.tmp
  46. ren c:\omm\config.bak config.omm
  47. ren c:\omm\config.tmp config.bak
  48.  
  49. cls
  50. type C:\omm\Winstall.hlp
  51. :End
  52. echo Installation is finished.
  53. echo To run the programme, change to the OMM directory and 
  54. echo type OMM or AUTOEXEC
  55.  
  56.